<template>
  <div>
    <van-search v-model="value" shape="round" background="#4fc08d" placeholder="寻找宝贝" @click="toSearch" />
  </div>
</template>

<script>
  export default {
    data() {
      return {
        value: ''
      }
    },
    methods: {
      toSearch() {
        this.$router.push({
          path: '/Search'
        })
      }
    }
  }
</script>

<style>
</style>
